﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using SGD;

namespace TLOW_MapEditor
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            MainForm mainForm = new MainForm();
            mainForm.Show();
            mainForm.Init();

            while (mainForm.Created)
            {
                mainForm.RenderMapViewport();
                mainForm.UpdateObjects();
                Application.DoEvents();
            }
        }
    }
}
